package com.zisu.wcsopcua.business.controller;


import com.zisu.wcsopcua.business.service.ITWcsTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * wcs 任务信息表 前端控制器
 * </p>
 *
 * @author caixiang
 * @since 2021-10-09
 */
@RestController
@RequestMapping("/business/t-wcs-task")
public class TWcsTaskController {
    @Autowired
    ITWcsTaskService service;

    /**
     * 输入关键字后 点击查询按钮 查询
     * */
    @PostMapping(value = "test")
    private String test() {
        return service.getBaseMapper().selectById(1).toString();
    }
}
